package com.hehui.module.goods.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class GoodsPricedExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public GoodsPricedExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andGpPricedidIsNull() {
            addCriterion("gp_pricedId is null");
            return (Criteria) this;
        }

        public Criteria andGpPricedidIsNotNull() {
            addCriterion("gp_pricedId is not null");
            return (Criteria) this;
        }

        public Criteria andGpPricedidEqualTo(Long value) {
            addCriterion("gp_pricedId =", value, "gpPricedid");
            return (Criteria) this;
        }

        public Criteria andGpPricedidNotEqualTo(Long value) {
            addCriterion("gp_pricedId <>", value, "gpPricedid");
            return (Criteria) this;
        }

        public Criteria andGpPricedidGreaterThan(Long value) {
            addCriterion("gp_pricedId >", value, "gpPricedid");
            return (Criteria) this;
        }

        public Criteria andGpPricedidGreaterThanOrEqualTo(Long value) {
            addCriterion("gp_pricedId >=", value, "gpPricedid");
            return (Criteria) this;
        }

        public Criteria andGpPricedidLessThan(Long value) {
            addCriterion("gp_pricedId <", value, "gpPricedid");
            return (Criteria) this;
        }

        public Criteria andGpPricedidLessThanOrEqualTo(Long value) {
            addCriterion("gp_pricedId <=", value, "gpPricedid");
            return (Criteria) this;
        }

        public Criteria andGpPricedidIn(List<Long> values) {
            addCriterion("gp_pricedId in", values, "gpPricedid");
            return (Criteria) this;
        }

        public Criteria andGpPricedidNotIn(List<Long> values) {
            addCriterion("gp_pricedId not in", values, "gpPricedid");
            return (Criteria) this;
        }

        public Criteria andGpPricedidBetween(Long value1, Long value2) {
            addCriterion("gp_pricedId between", value1, value2, "gpPricedid");
            return (Criteria) this;
        }

        public Criteria andGpPricedidNotBetween(Long value1, Long value2) {
            addCriterion("gp_pricedId not between", value1, value2, "gpPricedid");
            return (Criteria) this;
        }

        public Criteria andGpMerchantidIsNull() {
            addCriterion("gp_merchantId is null");
            return (Criteria) this;
        }

        public Criteria andGpMerchantidIsNotNull() {
            addCriterion("gp_merchantId is not null");
            return (Criteria) this;
        }

        public Criteria andGpMerchantidEqualTo(Long value) {
            addCriterion("gp_merchantId =", value, "gpMerchantid");
            return (Criteria) this;
        }

        public Criteria andGpMerchantidNotEqualTo(Long value) {
            addCriterion("gp_merchantId <>", value, "gpMerchantid");
            return (Criteria) this;
        }

        public Criteria andGpMerchantidGreaterThan(Long value) {
            addCriterion("gp_merchantId >", value, "gpMerchantid");
            return (Criteria) this;
        }

        public Criteria andGpMerchantidGreaterThanOrEqualTo(Long value) {
            addCriterion("gp_merchantId >=", value, "gpMerchantid");
            return (Criteria) this;
        }

        public Criteria andGpMerchantidLessThan(Long value) {
            addCriterion("gp_merchantId <", value, "gpMerchantid");
            return (Criteria) this;
        }

        public Criteria andGpMerchantidLessThanOrEqualTo(Long value) {
            addCriterion("gp_merchantId <=", value, "gpMerchantid");
            return (Criteria) this;
        }

        public Criteria andGpMerchantidIn(List<Long> values) {
            addCriterion("gp_merchantId in", values, "gpMerchantid");
            return (Criteria) this;
        }

        public Criteria andGpMerchantidNotIn(List<Long> values) {
            addCriterion("gp_merchantId not in", values, "gpMerchantid");
            return (Criteria) this;
        }

        public Criteria andGpMerchantidBetween(Long value1, Long value2) {
            addCriterion("gp_merchantId between", value1, value2, "gpMerchantid");
            return (Criteria) this;
        }

        public Criteria andGpMerchantidNotBetween(Long value1, Long value2) {
            addCriterion("gp_merchantId not between", value1, value2, "gpMerchantid");
            return (Criteria) this;
        }

        public Criteria andGpGoodsidIsNull() {
            addCriterion("gp_goodsId is null");
            return (Criteria) this;
        }

        public Criteria andGpGoodsidIsNotNull() {
            addCriterion("gp_goodsId is not null");
            return (Criteria) this;
        }

        public Criteria andGpGoodsidEqualTo(Long value) {
            addCriterion("gp_goodsId =", value, "gpGoodsid");
            return (Criteria) this;
        }

        public Criteria andGpGoodsidNotEqualTo(Long value) {
            addCriterion("gp_goodsId <>", value, "gpGoodsid");
            return (Criteria) this;
        }

        public Criteria andGpGoodsidGreaterThan(Long value) {
            addCriterion("gp_goodsId >", value, "gpGoodsid");
            return (Criteria) this;
        }

        public Criteria andGpGoodsidGreaterThanOrEqualTo(Long value) {
            addCriterion("gp_goodsId >=", value, "gpGoodsid");
            return (Criteria) this;
        }

        public Criteria andGpGoodsidLessThan(Long value) {
            addCriterion("gp_goodsId <", value, "gpGoodsid");
            return (Criteria) this;
        }

        public Criteria andGpGoodsidLessThanOrEqualTo(Long value) {
            addCriterion("gp_goodsId <=", value, "gpGoodsid");
            return (Criteria) this;
        }

        public Criteria andGpGoodsidIn(List<Long> values) {
            addCriterion("gp_goodsId in", values, "gpGoodsid");
            return (Criteria) this;
        }

        public Criteria andGpGoodsidNotIn(List<Long> values) {
            addCriterion("gp_goodsId not in", values, "gpGoodsid");
            return (Criteria) this;
        }

        public Criteria andGpGoodsidBetween(Long value1, Long value2) {
            addCriterion("gp_goodsId between", value1, value2, "gpGoodsid");
            return (Criteria) this;
        }

        public Criteria andGpGoodsidNotBetween(Long value1, Long value2) {
            addCriterion("gp_goodsId not between", value1, value2, "gpGoodsid");
            return (Criteria) this;
        }

        public Criteria andGpDhpricedIsNull() {
            addCriterion("gp_dhPriced is null");
            return (Criteria) this;
        }

        public Criteria andGpDhpricedIsNotNull() {
            addCriterion("gp_dhPriced is not null");
            return (Criteria) this;
        }

        public Criteria andGpDhpricedEqualTo(Double value) {
            addCriterion("gp_dhPriced =", value, "gpDhpriced");
            return (Criteria) this;
        }

        public Criteria andGpDhpricedNotEqualTo(Double value) {
            addCriterion("gp_dhPriced <>", value, "gpDhpriced");
            return (Criteria) this;
        }

        public Criteria andGpDhpricedGreaterThan(Double value) {
            addCriterion("gp_dhPriced >", value, "gpDhpriced");
            return (Criteria) this;
        }

        public Criteria andGpDhpricedGreaterThanOrEqualTo(Double value) {
            addCriterion("gp_dhPriced >=", value, "gpDhpriced");
            return (Criteria) this;
        }

        public Criteria andGpDhpricedLessThan(Double value) {
            addCriterion("gp_dhPriced <", value, "gpDhpriced");
            return (Criteria) this;
        }

        public Criteria andGpDhpricedLessThanOrEqualTo(Double value) {
            addCriterion("gp_dhPriced <=", value, "gpDhpriced");
            return (Criteria) this;
        }

        public Criteria andGpDhpricedIn(List<Double> values) {
            addCriterion("gp_dhPriced in", values, "gpDhpriced");
            return (Criteria) this;
        }

        public Criteria andGpDhpricedNotIn(List<Double> values) {
            addCriterion("gp_dhPriced not in", values, "gpDhpriced");
            return (Criteria) this;
        }

        public Criteria andGpDhpricedBetween(Double value1, Double value2) {
            addCriterion("gp_dhPriced between", value1, value2, "gpDhpriced");
            return (Criteria) this;
        }

        public Criteria andGpDhpricedNotBetween(Double value1, Double value2) {
            addCriterion("gp_dhPriced not between", value1, value2, "gpDhpriced");
            return (Criteria) this;
        }

        public Criteria andGpScpricedIsNull() {
            addCriterion("gp_scPriced is null");
            return (Criteria) this;
        }

        public Criteria andGpScpricedIsNotNull() {
            addCriterion("gp_scPriced is not null");
            return (Criteria) this;
        }

        public Criteria andGpScpricedEqualTo(Double value) {
            addCriterion("gp_scPriced =", value, "gpScpriced");
            return (Criteria) this;
        }

        public Criteria andGpScpricedNotEqualTo(Double value) {
            addCriterion("gp_scPriced <>", value, "gpScpriced");
            return (Criteria) this;
        }

        public Criteria andGpScpricedGreaterThan(Double value) {
            addCriterion("gp_scPriced >", value, "gpScpriced");
            return (Criteria) this;
        }

        public Criteria andGpScpricedGreaterThanOrEqualTo(Double value) {
            addCriterion("gp_scPriced >=", value, "gpScpriced");
            return (Criteria) this;
        }

        public Criteria andGpScpricedLessThan(Double value) {
            addCriterion("gp_scPriced <", value, "gpScpriced");
            return (Criteria) this;
        }

        public Criteria andGpScpricedLessThanOrEqualTo(Double value) {
            addCriterion("gp_scPriced <=", value, "gpScpriced");
            return (Criteria) this;
        }

        public Criteria andGpScpricedIn(List<Double> values) {
            addCriterion("gp_scPriced in", values, "gpScpriced");
            return (Criteria) this;
        }

        public Criteria andGpScpricedNotIn(List<Double> values) {
            addCriterion("gp_scPriced not in", values, "gpScpriced");
            return (Criteria) this;
        }

        public Criteria andGpScpricedBetween(Double value1, Double value2) {
            addCriterion("gp_scPriced between", value1, value2, "gpScpriced");
            return (Criteria) this;
        }

        public Criteria andGpScpricedNotBetween(Double value1, Double value2) {
            addCriterion("gp_scPriced not between", value1, value2, "gpScpriced");
            return (Criteria) this;
        }

        public Criteria andGpCkjhpricedIsNull() {
            addCriterion("gp_ckjhPriced is null");
            return (Criteria) this;
        }

        public Criteria andGpCkjhpricedIsNotNull() {
            addCriterion("gp_ckjhPriced is not null");
            return (Criteria) this;
        }

        public Criteria andGpCkjhpricedEqualTo(Double value) {
            addCriterion("gp_ckjhPriced =", value, "gpCkjhpriced");
            return (Criteria) this;
        }

        public Criteria andGpCkjhpricedNotEqualTo(Double value) {
            addCriterion("gp_ckjhPriced <>", value, "gpCkjhpriced");
            return (Criteria) this;
        }

        public Criteria andGpCkjhpricedGreaterThan(Double value) {
            addCriterion("gp_ckjhPriced >", value, "gpCkjhpriced");
            return (Criteria) this;
        }

        public Criteria andGpCkjhpricedGreaterThanOrEqualTo(Double value) {
            addCriterion("gp_ckjhPriced >=", value, "gpCkjhpriced");
            return (Criteria) this;
        }

        public Criteria andGpCkjhpricedLessThan(Double value) {
            addCriterion("gp_ckjhPriced <", value, "gpCkjhpriced");
            return (Criteria) this;
        }

        public Criteria andGpCkjhpricedLessThanOrEqualTo(Double value) {
            addCriterion("gp_ckjhPriced <=", value, "gpCkjhpriced");
            return (Criteria) this;
        }

        public Criteria andGpCkjhpricedIn(List<Double> values) {
            addCriterion("gp_ckjhPriced in", values, "gpCkjhpriced");
            return (Criteria) this;
        }

        public Criteria andGpCkjhpricedNotIn(List<Double> values) {
            addCriterion("gp_ckjhPriced not in", values, "gpCkjhpriced");
            return (Criteria) this;
        }

        public Criteria andGpCkjhpricedBetween(Double value1, Double value2) {
            addCriterion("gp_ckjhPriced between", value1, value2, "gpCkjhpriced");
            return (Criteria) this;
        }

        public Criteria andGpCkjhpricedNotBetween(Double value1, Double value2) {
            addCriterion("gp_ckjhPriced not between", value1, value2, "gpCkjhpriced");
            return (Criteria) this;
        }

        public Criteria andGpIsladderIsNull() {
            addCriterion("gp_isLadder is null");
            return (Criteria) this;
        }

        public Criteria andGpIsladderIsNotNull() {
            addCriterion("gp_isLadder is not null");
            return (Criteria) this;
        }

        public Criteria andGpIsladderEqualTo(String value) {
            addCriterion("gp_isLadder =", value, "gpIsladder");
            return (Criteria) this;
        }

        public Criteria andGpIsladderNotEqualTo(String value) {
            addCriterion("gp_isLadder <>", value, "gpIsladder");
            return (Criteria) this;
        }

        public Criteria andGpIsladderGreaterThan(String value) {
            addCriterion("gp_isLadder >", value, "gpIsladder");
            return (Criteria) this;
        }

        public Criteria andGpIsladderGreaterThanOrEqualTo(String value) {
            addCriterion("gp_isLadder >=", value, "gpIsladder");
            return (Criteria) this;
        }

        public Criteria andGpIsladderLessThan(String value) {
            addCriterion("gp_isLadder <", value, "gpIsladder");
            return (Criteria) this;
        }

        public Criteria andGpIsladderLessThanOrEqualTo(String value) {
            addCriterion("gp_isLadder <=", value, "gpIsladder");
            return (Criteria) this;
        }

        public Criteria andGpIsladderLike(String value) {
            addCriterion("gp_isLadder like", value, "gpIsladder");
            return (Criteria) this;
        }

        public Criteria andGpIsladderNotLike(String value) {
            addCriterion("gp_isLadder not like", value, "gpIsladder");
            return (Criteria) this;
        }

        public Criteria andGpIsladderIn(List<String> values) {
            addCriterion("gp_isLadder in", values, "gpIsladder");
            return (Criteria) this;
        }

        public Criteria andGpIsladderNotIn(List<String> values) {
            addCriterion("gp_isLadder not in", values, "gpIsladder");
            return (Criteria) this;
        }

        public Criteria andGpIsladderBetween(String value1, String value2) {
            addCriterion("gp_isLadder between", value1, value2, "gpIsladder");
            return (Criteria) this;
        }

        public Criteria andGpIsladderNotBetween(String value1, String value2) {
            addCriterion("gp_isLadder not between", value1, value2, "gpIsladder");
            return (Criteria) this;
        }

        public Criteria andGpIslevelIsNull() {
            addCriterion("gp_islevel is null");
            return (Criteria) this;
        }

        public Criteria andGpIslevelIsNotNull() {
            addCriterion("gp_islevel is not null");
            return (Criteria) this;
        }

        public Criteria andGpIslevelEqualTo(String value) {
            addCriterion("gp_islevel =", value, "gpIslevel");
            return (Criteria) this;
        }

        public Criteria andGpIslevelNotEqualTo(String value) {
            addCriterion("gp_islevel <>", value, "gpIslevel");
            return (Criteria) this;
        }

        public Criteria andGpIslevelGreaterThan(String value) {
            addCriterion("gp_islevel >", value, "gpIslevel");
            return (Criteria) this;
        }

        public Criteria andGpIslevelGreaterThanOrEqualTo(String value) {
            addCriterion("gp_islevel >=", value, "gpIslevel");
            return (Criteria) this;
        }

        public Criteria andGpIslevelLessThan(String value) {
            addCriterion("gp_islevel <", value, "gpIslevel");
            return (Criteria) this;
        }

        public Criteria andGpIslevelLessThanOrEqualTo(String value) {
            addCriterion("gp_islevel <=", value, "gpIslevel");
            return (Criteria) this;
        }

        public Criteria andGpIslevelLike(String value) {
            addCriterion("gp_islevel like", value, "gpIslevel");
            return (Criteria) this;
        }

        public Criteria andGpIslevelNotLike(String value) {
            addCriterion("gp_islevel not like", value, "gpIslevel");
            return (Criteria) this;
        }

        public Criteria andGpIslevelIn(List<String> values) {
            addCriterion("gp_islevel in", values, "gpIslevel");
            return (Criteria) this;
        }

        public Criteria andGpIslevelNotIn(List<String> values) {
            addCriterion("gp_islevel not in", values, "gpIslevel");
            return (Criteria) this;
        }

        public Criteria andGpIslevelBetween(String value1, String value2) {
            addCriterion("gp_islevel between", value1, value2, "gpIslevel");
            return (Criteria) this;
        }

        public Criteria andGpIslevelNotBetween(String value1, String value2) {
            addCriterion("gp_islevel not between", value1, value2, "gpIslevel");
            return (Criteria) this;
        }

        public Criteria andGpIsspecifyIsNull() {
            addCriterion("gp_isSpecify is null");
            return (Criteria) this;
        }

        public Criteria andGpIsspecifyIsNotNull() {
            addCriterion("gp_isSpecify is not null");
            return (Criteria) this;
        }

        public Criteria andGpIsspecifyEqualTo(String value) {
            addCriterion("gp_isSpecify =", value, "gpIsspecify");
            return (Criteria) this;
        }

        public Criteria andGpIsspecifyNotEqualTo(String value) {
            addCriterion("gp_isSpecify <>", value, "gpIsspecify");
            return (Criteria) this;
        }

        public Criteria andGpIsspecifyGreaterThan(String value) {
            addCriterion("gp_isSpecify >", value, "gpIsspecify");
            return (Criteria) this;
        }

        public Criteria andGpIsspecifyGreaterThanOrEqualTo(String value) {
            addCriterion("gp_isSpecify >=", value, "gpIsspecify");
            return (Criteria) this;
        }

        public Criteria andGpIsspecifyLessThan(String value) {
            addCriterion("gp_isSpecify <", value, "gpIsspecify");
            return (Criteria) this;
        }

        public Criteria andGpIsspecifyLessThanOrEqualTo(String value) {
            addCriterion("gp_isSpecify <=", value, "gpIsspecify");
            return (Criteria) this;
        }

        public Criteria andGpIsspecifyLike(String value) {
            addCriterion("gp_isSpecify like", value, "gpIsspecify");
            return (Criteria) this;
        }

        public Criteria andGpIsspecifyNotLike(String value) {
            addCriterion("gp_isSpecify not like", value, "gpIsspecify");
            return (Criteria) this;
        }

        public Criteria andGpIsspecifyIn(List<String> values) {
            addCriterion("gp_isSpecify in", values, "gpIsspecify");
            return (Criteria) this;
        }

        public Criteria andGpIsspecifyNotIn(List<String> values) {
            addCriterion("gp_isSpecify not in", values, "gpIsspecify");
            return (Criteria) this;
        }

        public Criteria andGpIsspecifyBetween(String value1, String value2) {
            addCriterion("gp_isSpecify between", value1, value2, "gpIsspecify");
            return (Criteria) this;
        }

        public Criteria andGpIsspecifyNotBetween(String value1, String value2) {
            addCriterion("gp_isSpecify not between", value1, value2, "gpIsspecify");
            return (Criteria) this;
        }

        public Criteria andCreatedateIsNull() {
            addCriterion("createDate is null");
            return (Criteria) this;
        }

        public Criteria andCreatedateIsNotNull() {
            addCriterion("createDate is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedateEqualTo(Date value) {
            addCriterion("createDate =", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateNotEqualTo(Date value) {
            addCriterion("createDate <>", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateGreaterThan(Date value) {
            addCriterion("createDate >", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateGreaterThanOrEqualTo(Date value) {
            addCriterion("createDate >=", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateLessThan(Date value) {
            addCriterion("createDate <", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateLessThanOrEqualTo(Date value) {
            addCriterion("createDate <=", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateIn(List<Date> values) {
            addCriterion("createDate in", values, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateNotIn(List<Date> values) {
            addCriterion("createDate not in", values, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateBetween(Date value1, Date value2) {
            addCriterion("createDate between", value1, value2, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateNotBetween(Date value1, Date value2) {
            addCriterion("createDate not between", value1, value2, "createdate");
            return (Criteria) this;
        }

        public Criteria andUpdatedateIsNull() {
            addCriterion("updateDate is null");
            return (Criteria) this;
        }

        public Criteria andUpdatedateIsNotNull() {
            addCriterion("updateDate is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatedateEqualTo(Date value) {
            addCriterion("updateDate =", value, "updatedate");
            return (Criteria) this;
        }

        public Criteria andUpdatedateNotEqualTo(Date value) {
            addCriterion("updateDate <>", value, "updatedate");
            return (Criteria) this;
        }

        public Criteria andUpdatedateGreaterThan(Date value) {
            addCriterion("updateDate >", value, "updatedate");
            return (Criteria) this;
        }

        public Criteria andUpdatedateGreaterThanOrEqualTo(Date value) {
            addCriterion("updateDate >=", value, "updatedate");
            return (Criteria) this;
        }

        public Criteria andUpdatedateLessThan(Date value) {
            addCriterion("updateDate <", value, "updatedate");
            return (Criteria) this;
        }

        public Criteria andUpdatedateLessThanOrEqualTo(Date value) {
            addCriterion("updateDate <=", value, "updatedate");
            return (Criteria) this;
        }

        public Criteria andUpdatedateIn(List<Date> values) {
            addCriterion("updateDate in", values, "updatedate");
            return (Criteria) this;
        }

        public Criteria andUpdatedateNotIn(List<Date> values) {
            addCriterion("updateDate not in", values, "updatedate");
            return (Criteria) this;
        }

        public Criteria andUpdatedateBetween(Date value1, Date value2) {
            addCriterion("updateDate between", value1, value2, "updatedate");
            return (Criteria) this;
        }

        public Criteria andUpdatedateNotBetween(Date value1, Date value2) {
            addCriterion("updateDate not between", value1, value2, "updatedate");
            return (Criteria) this;
        }

        public Criteria andIsDelIsNull() {
            addCriterion("is_del is null");
            return (Criteria) this;
        }

        public Criteria andIsDelIsNotNull() {
            addCriterion("is_del is not null");
            return (Criteria) this;
        }

        public Criteria andIsDelEqualTo(String value) {
            addCriterion("is_del =", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelNotEqualTo(String value) {
            addCriterion("is_del <>", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelGreaterThan(String value) {
            addCriterion("is_del >", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelGreaterThanOrEqualTo(String value) {
            addCriterion("is_del >=", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelLessThan(String value) {
            addCriterion("is_del <", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelLessThanOrEqualTo(String value) {
            addCriterion("is_del <=", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelLike(String value) {
            addCriterion("is_del like", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelNotLike(String value) {
            addCriterion("is_del not like", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelIn(List<String> values) {
            addCriterion("is_del in", values, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelNotIn(List<String> values) {
            addCriterion("is_del not in", values, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelBetween(String value1, String value2) {
            addCriterion("is_del between", value1, value2, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelNotBetween(String value1, String value2) {
            addCriterion("is_del not between", value1, value2, "isDel");
            return (Criteria) this;
        }

        public Criteria andRemarksIsNull() {
            addCriterion("remarks is null");
            return (Criteria) this;
        }

        public Criteria andRemarksIsNotNull() {
            addCriterion("remarks is not null");
            return (Criteria) this;
        }

        public Criteria andRemarksEqualTo(String value) {
            addCriterion("remarks =", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotEqualTo(String value) {
            addCriterion("remarks <>", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksGreaterThan(String value) {
            addCriterion("remarks >", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksGreaterThanOrEqualTo(String value) {
            addCriterion("remarks >=", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLessThan(String value) {
            addCriterion("remarks <", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLessThanOrEqualTo(String value) {
            addCriterion("remarks <=", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLike(String value) {
            addCriterion("remarks like", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotLike(String value) {
            addCriterion("remarks not like", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksIn(List<String> values) {
            addCriterion("remarks in", values, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotIn(List<String> values) {
            addCriterion("remarks not in", values, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksBetween(String value1, String value2) {
            addCriterion("remarks between", value1, value2, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotBetween(String value1, String value2) {
            addCriterion("remarks not between", value1, value2, "remarks");
            return (Criteria) this;
        }

        public Criteria andGpGoodsnumIsNull() {
            addCriterion("gp_goodsNum is null");
            return (Criteria) this;
        }

        public Criteria andGpGoodsnumIsNotNull() {
            addCriterion("gp_goodsNum is not null");
            return (Criteria) this;
        }

        public Criteria andGpGoodsnumEqualTo(String value) {
            addCriterion("gp_goodsNum =", value, "gpGoodsnum");
            return (Criteria) this;
        }

        public Criteria andGpGoodsnumNotEqualTo(String value) {
            addCriterion("gp_goodsNum <>", value, "gpGoodsnum");
            return (Criteria) this;
        }

        public Criteria andGpGoodsnumGreaterThan(String value) {
            addCriterion("gp_goodsNum >", value, "gpGoodsnum");
            return (Criteria) this;
        }

        public Criteria andGpGoodsnumGreaterThanOrEqualTo(String value) {
            addCriterion("gp_goodsNum >=", value, "gpGoodsnum");
            return (Criteria) this;
        }

        public Criteria andGpGoodsnumLessThan(String value) {
            addCriterion("gp_goodsNum <", value, "gpGoodsnum");
            return (Criteria) this;
        }

        public Criteria andGpGoodsnumLessThanOrEqualTo(String value) {
            addCriterion("gp_goodsNum <=", value, "gpGoodsnum");
            return (Criteria) this;
        }

        public Criteria andGpGoodsnumLike(String value) {
            addCriterion("gp_goodsNum like", value, "gpGoodsnum");
            return (Criteria) this;
        }

        public Criteria andGpGoodsnumNotLike(String value) {
            addCriterion("gp_goodsNum not like", value, "gpGoodsnum");
            return (Criteria) this;
        }

        public Criteria andGpGoodsnumIn(List<String> values) {
            addCriterion("gp_goodsNum in", values, "gpGoodsnum");
            return (Criteria) this;
        }

        public Criteria andGpGoodsnumNotIn(List<String> values) {
            addCriterion("gp_goodsNum not in", values, "gpGoodsnum");
            return (Criteria) this;
        }

        public Criteria andGpGoodsnumBetween(String value1, String value2) {
            addCriterion("gp_goodsNum between", value1, value2, "gpGoodsnum");
            return (Criteria) this;
        }

        public Criteria andGpGoodsnumNotBetween(String value1, String value2) {
            addCriterion("gp_goodsNum not between", value1, value2, "gpGoodsnum");
            return (Criteria) this;
        }

        public Criteria andGpUnitIsNull() {
            addCriterion("gp_unit is null");
            return (Criteria) this;
        }

        public Criteria andGpUnitIsNotNull() {
            addCriterion("gp_unit is not null");
            return (Criteria) this;
        }

        public Criteria andGpUnitEqualTo(Long value) {
            addCriterion("gp_unit =", value, "gpUnit");
            return (Criteria) this;
        }

        public Criteria andGpUnitNotEqualTo(Long value) {
            addCriterion("gp_unit <>", value, "gpUnit");
            return (Criteria) this;
        }

        public Criteria andGpUnitGreaterThan(Long value) {
            addCriterion("gp_unit >", value, "gpUnit");
            return (Criteria) this;
        }

        public Criteria andGpUnitGreaterThanOrEqualTo(Long value) {
            addCriterion("gp_unit >=", value, "gpUnit");
            return (Criteria) this;
        }

        public Criteria andGpUnitLessThan(Long value) {
            addCriterion("gp_unit <", value, "gpUnit");
            return (Criteria) this;
        }

        public Criteria andGpUnitLessThanOrEqualTo(Long value) {
            addCriterion("gp_unit <=", value, "gpUnit");
            return (Criteria) this;
        }

        public Criteria andGpUnitIn(List<Long> values) {
            addCriterion("gp_unit in", values, "gpUnit");
            return (Criteria) this;
        }

        public Criteria andGpUnitNotIn(List<Long> values) {
            addCriterion("gp_unit not in", values, "gpUnit");
            return (Criteria) this;
        }

        public Criteria andGpUnitBetween(Long value1, Long value2) {
            addCriterion("gp_unit between", value1, value2, "gpUnit");
            return (Criteria) this;
        }

        public Criteria andGpUnitNotBetween(Long value1, Long value2) {
            addCriterion("gp_unit not between", value1, value2, "gpUnit");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}